<?php
$criteria = new CDbCriteria();
$criteria->compare('trangthai',1);
$danhsach = Nhomdichvu::model()->findAll($criteria);

foreach ($danhsach as $value) {
	echo "<div class='row'>";
	echo CHtml::link($value->tennhom,array('nhomdichvu/dichvu','idnhom'=>$value->id));
	echo "</div>";
}